More updates for the mirror walkthrough text. ๐Ÿ”ผ

[s]Stuff about CC.deb.devuan.org.

[/s]

Move the web server example rewrite rules to be in the same section.

<CenturionDan> onefang: Can I suggest amending the devuanmirror_walkthrough.txt section 5b to use $scheme:// instead of http:// as that allows for both http and https in the same stanza

Will that work for both Apache and Nginx?

Oh and lighttpd, since we include that later?

<Centurion_Dan18> That is for nginx. ย Just looking up the equivalent for apache.

<CenturionDan18> for apache it appears to be ${REQUESTSCHEME}

<CenturionDan18> CORRECTION: for apache it appears to be %{REQUESTSCHEME} - but someone will need to verify that.

<Centurion_Dan18> Aso note that certbot messes with the stanza to permanent redirect http to https. ย For NGINX it's simple enough to delete the http redirect stanza and just add the lines:

<Centurion_Dan18> Listen 80;

<Centurion_Dan18> Listen [::]:80;

<Centurion_Dan18> to the main server stanza.

<Centurion_Dan18> I assume similar hacks would be needed for apache too.


reported=2022-10-14 01:05:42

reporter=onefang

priority=high

category=TODO

severity=text

resolution=open